<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title></title>
	<link rel="stylesheet" href="">
</head>
<body>
<script src="https://cdn.bootcss.com/vue/2.3.4/vue.js"></script>
<div id="root">
	<ele-input :value='name' @input='val=>name=val'></ele-input>
	<div>{{name}}</div>
</div>
<script>
	Vue.component('ele-input',{
		render : function(h){
			var self = this;
			return h('input',{
				domProps : {
					value : self.name,
				},
				on : {
					input : function(event){
						console.log(self.$el);
						self.$emit('input',self.$el.value);//event.target.value
					}
				},
				props : {
					name : String,
				}
			})
		}
	});
	var vm = new Vue({
		el : '#root',
		data : {
			name : 'Ken',
		}
	})
</script>	
</body>
</html>